<template>
  <div class="timed-taskList-list">
    <SearchBar />
    <Table />
  </div>
</template>

<script lang="ts" setup name="TimedTaskList">
import mitt from '@/utils/mitt'
import { onUnmounted } from 'vue'
import SearchBar from './components/search-bar/index.vue'
import Table from './components/table/index.vue'

mitt.on('load-resources-list', (params): void => {
  console.log('search-bar-data：', params)
})

onUnmounted(() => {
  mitt.off('load-resources-list')
})
</script>

<style lang="less" scoped>
.resources-list {
}
</style>
